// Lean compiler output
// Module: Lean.ReducibilityAttrs
// Imports: Lean.Attributes Lean.ScopedEnvExtension
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__19;
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__16;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__14;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__2;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__25;
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__3;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615_(lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__16;
static lean_object* l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__3;
LEAN_EXPORT lean_object* l_Lean_setIrreducibleAttribute(lean_object*);
LEAN_EXPORT lean_object* l_Lean_allowUnsafeReducibility;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__10;
size_t lean_usize_shift_right(size_t, size_t);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__4;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__3;
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusImp___boxed(lean_object*, lean_object*, lean_object*);
uint8_t lean_usize_dec_le(size_t, size_t);
static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__1;
LEAN_EXPORT lean_object* l_Lean_instReprReducibilityStatus;
LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__12(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__7;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465_(lean_object*);
size_t lean_uint64_to_usize(uint64_t);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__10;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__9;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__18;
static lean_object* l_Lean_getReducibilityStatusCore___closed__2;
LEAN_EXPORT lean_object* l_Lean_isReducible(lean_object*);
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion___rarg___lambda__1(lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__6;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__15;
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_qpartition___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_mul(size_t, size_t);
lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_size___spec__1___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_mk_array(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isReducible___rarg___lambda__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_reducibilityExtraExt;
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_toCtorIdx(uint8_t);
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion___rarg___lambda__1___boxed(lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__6;
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fget(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__13;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__1;
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__2(lean_object*, lean_object*, uint8_t);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__7;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___closed__1;
static lean_object* l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__12___boxed(lean_object*);
lean_object* lean_environment_find(lean_object*, lean_object*);
lean_object* l_Lean_Attribute_Builtin_ensureNoArgs(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_addAttr(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__12;
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__13;
LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_getReducibilityStatusCore___spec__6___boxed(lean_object*, lean_object*);
static lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___closed__1;
static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__3;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_stringToMessageData(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__5;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__3;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__12;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__24;
lean_object* l_Lean_ScopedEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isReducible___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__2;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__6;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__23;
LEAN_EXPORT lean_object* l_Lean_isIrreducible___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isReducible___rarg___lambda__1(lean_object*, uint8_t);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__13;
static lean_object* l_Lean_getReducibilityStatusCore___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_getReducibilityStatusCore___spec__6(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__4;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__7;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__4;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__2;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__10;
LEAN_EXPORT uint8_t lean_get_reducibility_status(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__11___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__17;
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___rarg___lambda__1(lean_object*, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__13(lean_object*);
LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_getReducibilityStatusCore___spec__5___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l___private_Lean_ReducibilityAttrs_0__Lean_beqReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_133_(uint8_t, uint8_t);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__14;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__5;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__21;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__8;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__13;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4(lean_object*);
lean_object* lean_st_ref_take(lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
static lean_object* l_Lean_instReprReducibilityStatus___closed__1;
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion(lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_getReducibilityStatusCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_registerSimpleScopedEnvExtension___rarg(lean_object*, lean_object*);
lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__6___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____lambda__1(lean_object*, lean_object*);
lean_object* lean_nat_to_int(lean_object*);
static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__2;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__6;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__2;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__3;
lean_object* lean_nat_div(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___boxed(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__1;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__1;
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___rarg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423_(lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__2___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__5;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__5;
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__18;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__5;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__20;
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__4;
lean_object* lean_st_ref_get(lean_object*, lean_object*);
static lean_object* l_Lean_ReducibilityStatus_toAttrString___closed__3;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__5;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3(lean_object*);
LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__7___boxed(lean_object*, lean_object*);
lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__20;
lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__6(lean_object*, lean_object*, uint8_t);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__3;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__1;
static lean_object* l_Lean_ReducibilityStatus_toAttrString___closed__2;
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_toCtorIdx___boxed(lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__14;
lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__15;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__1;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__2;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3___closed__1;
uint8_t lean_name_eq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__1(lean_object*, lean_object*, uint8_t);
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__17;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__4;
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__2(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___lambda__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__1(lean_object*, lean_object*);
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__12;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__1;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381_(lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__5;
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__5(lean_object*, lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_getReducibilityStatusCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3___boxed(lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__11;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__6;
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instBEqReducibilityStatus;
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__2___boxed(lean_object*, lean_object*);
lean_object* lean_usize_to_nat(size_t);
size_t lean_hashmap_mk_idx(lean_object*, uint64_t);
static lean_object* l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__4;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__19;
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
LEAN_EXPORT lean_object* l_Lean_isIrreducible___rarg___lambda__1___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__18;
LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__9(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__12;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__7;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__9;
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__4;
LEAN_EXPORT lean_object* lean_set_reducibility_status(lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Lean_setIrreducibleAttribute___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__10(lean_object*, lean_object*);
lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_ReducibilityStatus_noConfusion___rarg___closed__1;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__11;
LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_getReducibilityStatusCore___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatusCore___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__11;
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__2;
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___lambda__1___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__6;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__3;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__7;
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__2;
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__1;
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17_(uint8_t, lean_object*);
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__2;
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_toAttrString___boxed(lean_object*);
lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__7;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__6;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__15;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__16;
uint64_t l_Lean_Name_hash___override(lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__7;
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
static lean_object* l_Lean_getReducibilityStatusCore___closed__3;
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_6____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_ScopedEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335_(lean_object*);
lean_object* lean_nat_mul(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__11(lean_object*, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___rarg(lean_object*, lean_object*, uint8_t);
lean_object* l_Lean_ScopedEnvExtension_addCore___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_getReducibilityStatusCore___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__3;
lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_instBEqReducibilityStatus___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__4;
LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute___rarg(lean_object*, lean_object*);
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*);
lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__1;
size_t lean_usize_sub(size_t, size_t);
lean_object* l_Lean_mkHashMapImp___rarg(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_beqReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_133____boxed(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__4;
size_t lean_usize_add(size_t, size_t);
LEAN_EXPORT uint8_t l_Lean_instInhabitedReducibilityStatus;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__5;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186_(lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__1;
lean_object* lean_array_uget(lean_object*, size_t);
LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__7(lean_object*, lean_object*);
lean_object* l_Lean_SMap_instInhabited___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__2(lean_object*, lean_object*);
size_t lean_usize_shift_left(size_t, size_t);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__6;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__9;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute(lean_object*);
static lean_object* l_Lean_ReducibilityStatus_toAttrString___closed__1;
LEAN_EXPORT lean_object* l_Lean_isIrreducible___rarg___lambda__1(lean_object*, uint8_t);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__10;
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_toAttrString(uint8_t);
extern lean_object* l_Lean_Name_instBEq;
lean_object* lean_array_get_size(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__5;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__8;
LEAN_EXPORT lean_object* l_Lean_reducibilityCoreExt;
LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__8(lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__11;
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__22;
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3(lean_object*, size_t, size_t, lean_object*, uint8_t);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__6;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__3;
lean_object* lean_nat_add(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__17;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__4;
LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_getReducibilityStatusCore___spec__5(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__5;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__3;
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
lean_object* l_Lean_MessageData_ofName(lean_object*);
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__2;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__4;
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_isIrreducible(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__2;
size_t lean_usize_land(size_t, size_t);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__6;
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_getReducibilityStatusCore___spec__3___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_getReducibilityStatusCore___spec__3(lean_object*, size_t, lean_object*);
extern lean_object* l_Lean_instHashableName;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__14;
lean_object* l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(lean_object*);
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__8;
static lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__15;
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus(lean_object*);
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_toCtorIdx(uint8_t x_1) {
_start:
{
switch (x_1) {
case 0:
{
lean_object* x_2; 
x_2 = lean_unsigned_to_nat(0u);
return x_2;
}
case 1:
{
lean_object* x_3; 
x_3 = lean_unsigned_to_nat(1u);
return x_3;
}
default: 
{
lean_object* x_4; 
x_4 = lean_unsigned_to_nat(2u);
return x_4;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_toCtorIdx___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_unbox(x_1);
lean_dec(x_1);
x_3 = l_Lean_ReducibilityStatus_toCtorIdx(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion___rarg___lambda__1(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
static lean_object* _init_l_Lean_ReducibilityStatus_noConfusion___rarg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_ReducibilityStatus_noConfusion___rarg___lambda__1___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_ReducibilityStatus_noConfusion___rarg___closed__1;
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_ReducibilityStatus_noConfusion___rarg___boxed), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion___rarg___lambda__1___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_ReducibilityStatus_noConfusion___rarg___lambda__1(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_noConfusion___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; uint8_t x_5; lean_object* x_6; 
x_4 = lean_unbox(x_1);
lean_dec(x_1);
x_5 = lean_unbox(x_2);
lean_dec(x_2);
x_6 = l_Lean_ReducibilityStatus_noConfusion___rarg(x_4, x_5, x_3);
return x_6;
}
}
static uint8_t _init_l_Lean_instInhabitedReducibilityStatus() {
_start:
{
uint8_t x_1; 
x_1 = 0;
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean.ReducibilityStatus.reducible", 33, 33);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__3;
x_2 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__2;
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__5() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__4;
x_2 = 0;
x_3 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__6;
x_2 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__2;
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__8() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__7;
x_2 = 0;
x_3 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean.ReducibilityStatus.semireducible", 37, 37);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__9;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__3;
x_2 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__10;
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__12() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__11;
x_2 = 0;
x_3 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__6;
x_2 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__10;
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__14() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__13;
x_2 = 0;
x_3 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean.ReducibilityStatus.irreducible", 35, 35);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__15;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__3;
x_2 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__16;
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__18() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__17;
x_2 = 0;
x_3 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__6;
x_2 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__16;
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__20() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__19;
x_2 = 0;
x_3 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17_(uint8_t x_1, lean_object* x_2) {
_start:
{
switch (x_1) {
case 0:
{
lean_object* x_3; uint8_t x_4; 
x_3 = lean_unsigned_to_nat(1024u);
x_4 = lean_nat_dec_le(x_3, x_2);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; 
x_5 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__5;
x_6 = l_Repr_addAppParen(x_5, x_2);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__8;
x_8 = l_Repr_addAppParen(x_7, x_2);
return x_8;
}
}
case 1:
{
lean_object* x_9; uint8_t x_10; 
x_9 = lean_unsigned_to_nat(1024u);
x_10 = lean_nat_dec_le(x_9, x_2);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; 
x_11 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__12;
x_12 = l_Repr_addAppParen(x_11, x_2);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__14;
x_14 = l_Repr_addAppParen(x_13, x_2);
return x_14;
}
}
default: 
{
lean_object* x_15; uint8_t x_16; 
x_15 = lean_unsigned_to_nat(1024u);
x_16 = lean_nat_dec_le(x_15, x_2);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; 
x_17 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__18;
x_18 = l_Repr_addAppParen(x_17, x_2);
return x_18;
}
else
{
lean_object* x_19; lean_object* x_20; 
x_19 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__20;
x_20 = l_Repr_addAppParen(x_19, x_2);
return x_20;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = lean_unbox(x_1);
lean_dec(x_1);
x_4 = l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17_(x_3, x_2);
lean_dec(x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_instReprReducibilityStatus___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_instReprReducibilityStatus() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_instReprReducibilityStatus___closed__1;
return x_1;
}
}
LEAN_EXPORT uint8_t l___private_Lean_ReducibilityAttrs_0__Lean_beqReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_133_(uint8_t x_1, uint8_t x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_3 = l_Lean_ReducibilityStatus_toCtorIdx(x_1);
x_4 = l_Lean_ReducibilityStatus_toCtorIdx(x_2);
x_5 = lean_nat_dec_eq(x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_beqReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_133____boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; 
x_3 = lean_unbox(x_1);
lean_dec(x_1);
x_4 = lean_unbox(x_2);
lean_dec(x_2);
x_5 = l___private_Lean_ReducibilityAttrs_0__Lean_beqReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_133_(x_3, x_4);
x_6 = lean_box(x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_instBEqReducibilityStatus___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_ReducibilityAttrs_0__Lean_beqReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_133____boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_instBEqReducibilityStatus() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_instBEqReducibilityStatus___closed__1;
return x_1;
}
}
static lean_object* _init_l_Lean_ReducibilityStatus_toAttrString___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[reducible]", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_ReducibilityStatus_toAttrString___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[semireducible]", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lean_ReducibilityStatus_toAttrString___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[irreducible]", 13, 13);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_toAttrString(uint8_t x_1) {
_start:
{
switch (x_1) {
case 0:
{
lean_object* x_2; 
x_2 = l_Lean_ReducibilityStatus_toAttrString___closed__1;
return x_2;
}
case 1:
{
lean_object* x_3; 
x_3 = l_Lean_ReducibilityStatus_toAttrString___closed__2;
return x_3;
}
default: 
{
lean_object* x_4; 
x_4 = l_Lean_ReducibilityStatus_toAttrString___closed__3;
return x_4;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_ReducibilityStatus_toAttrString___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_unbox(x_1);
lean_dec(x_1);
x_3 = l_Lean_ReducibilityStatus_toAttrString(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
return x_1;
}
else
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = lean_ctor_get(x_2, 2);
x_6 = lean_ctor_get(x_2, 3);
x_7 = l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__1(x_1, x_3);
lean_inc(x_5);
lean_inc(x_4);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_4);
lean_ctor_set(x_8, 1, x_5);
x_9 = lean_array_push(x_7, x_8);
x_1 = x_9;
x_2 = x_6;
goto _start;
}
}
}
LEAN_EXPORT uint8_t l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_2, 0);
x_5 = l_Lean_Name_quickLt(x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___lambda__1___boxed), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_nat_dec_lt(x_2, x_3);
if (x_4 == 0)
{
lean_dec(x_2);
return x_1;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_5 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___closed__1;
lean_inc(x_2);
x_6 = l_Array_qpartition___rarg(x_1, x_5, x_2, x_3);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
x_8 = lean_ctor_get(x_6, 1);
lean_inc(x_8);
lean_dec(x_6);
x_9 = lean_nat_dec_le(x_3, x_7);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2(x_8, x_2, x_7);
x_11 = lean_unsigned_to_nat(1u);
x_12 = lean_nat_add(x_7, x_11);
lean_dec(x_7);
x_1 = x_10;
x_2 = x_12;
goto _start;
}
else
{
lean_dec(x_7);
lean_dec(x_2);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_2, 1);
lean_inc(x_4);
lean_dec(x_2);
x_5 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_1, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3___closed__1;
x_3 = l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__1(x_2, x_1);
x_4 = lean_array_get_size(x_3);
x_5 = lean_unsigned_to_nat(1u);
x_6 = lean_nat_sub(x_4, x_5);
lean_dec(x_4);
x_7 = lean_unsigned_to_nat(0u);
x_8 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2(x_3, x_7, x_6);
lean_dec(x_6);
return x_8;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("reducibility attribute core extension", 37, 37);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__2;
x_2 = lean_box(1);
x_3 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("number of local entries: ", 25, 25);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__4;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__3;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__5;
x_3 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lean_RBNode_fold___at_Lean_RBMap_size___spec__1___rarg(x_2, x_1);
x_4 = l___private_Init_Data_Repr_0__Nat_reprFast(x_3);
x_5 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_5, 0, x_4);
x_6 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__6;
x_7 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_5);
return x_7;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("reducibilityCore", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__2), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_2 = lean_box(0);
x_3 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__1___boxed), 4, 1);
lean_closure_set(x_3, 0, x_2);
x_4 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__2;
x_5 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__3;
x_6 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__4;
x_7 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__5;
x_8 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__6;
x_9 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_9, 0, x_4);
lean_ctor_set(x_9, 1, x_5);
lean_ctor_set(x_9, 2, x_3);
lean_ctor_set(x_9, 3, x_6);
lean_ctor_set(x_9, 4, x_7);
lean_ctor_set(x_9, 5, x_8);
x_10 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_9, x_1);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___lambda__1(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__1(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__4(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_array_get_size(x_2);
x_8 = lean_nat_dec_lt(x_5, x_7);
lean_dec(x_7);
if (x_8 == 0)
{
lean_dec(x_5);
return x_6;
}
else
{
lean_object* x_9; lean_object* x_10; uint8_t x_11; uint64_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_9 = lean_array_fget(x_2, x_5);
x_10 = lean_array_fget(x_3, x_5);
x_11 = lean_unbox(x_10);
lean_dec(x_10);
x_12 = l_Lean_Name_hash___override(x_9);
x_13 = lean_uint64_to_usize(x_12);
x_14 = 1;
x_15 = lean_usize_sub(x_1, x_14);
x_16 = 5;
x_17 = lean_usize_mul(x_16, x_15);
x_18 = lean_usize_shift_right(x_13, x_17);
x_19 = lean_unsigned_to_nat(1u);
x_20 = lean_nat_add(x_5, x_19);
lean_dec(x_5);
x_21 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3(x_6, x_18, x_1, x_9, x_11);
x_4 = lean_box(0);
x_5 = x_20;
x_6 = x_21;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
x_6 = lean_ctor_get(x_1, 1);
lean_inc(x_6);
x_7 = lean_array_get_size(x_5);
x_8 = lean_nat_dec_lt(x_2, x_7);
lean_dec(x_7);
if (x_8 == 0)
{
uint8_t x_9; 
lean_dec(x_2);
x_9 = !lean_is_exclusive(x_1);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_1, 1);
lean_dec(x_10);
x_11 = lean_ctor_get(x_1, 0);
lean_dec(x_11);
x_12 = lean_array_push(x_5, x_3);
x_13 = lean_box(x_4);
x_14 = lean_array_push(x_6, x_13);
lean_ctor_set(x_1, 1, x_14);
lean_ctor_set(x_1, 0, x_12);
return x_1;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
lean_dec(x_1);
x_15 = lean_array_push(x_5, x_3);
x_16 = lean_box(x_4);
x_17 = lean_array_push(x_6, x_16);
x_18 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_18, 0, x_15);
lean_ctor_set(x_18, 1, x_17);
return x_18;
}
}
else
{
lean_object* x_19; uint8_t x_20; 
x_19 = lean_array_fget(x_5, x_2);
x_20 = lean_name_eq(x_3, x_19);
lean_dec(x_19);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; 
lean_dec(x_6);
lean_dec(x_5);
x_21 = lean_unsigned_to_nat(1u);
x_22 = lean_nat_add(x_2, x_21);
lean_dec(x_2);
x_2 = x_22;
goto _start;
}
else
{
uint8_t x_24; 
x_24 = !lean_is_exclusive(x_1);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_25 = lean_ctor_get(x_1, 1);
lean_dec(x_25);
x_26 = lean_ctor_get(x_1, 0);
lean_dec(x_26);
x_27 = lean_array_fset(x_5, x_2, x_3);
x_28 = lean_box(x_4);
x_29 = lean_array_fset(x_6, x_2, x_28);
lean_dec(x_2);
lean_ctor_set(x_1, 1, x_29);
lean_ctor_set(x_1, 0, x_27);
return x_1;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
lean_dec(x_1);
x_30 = lean_array_fset(x_5, x_2, x_3);
x_31 = lean_box(x_4);
x_32 = lean_array_fset(x_6, x_2, x_31);
lean_dec(x_2);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_30);
lean_ctor_set(x_33, 1, x_32);
return x_33;
}
}
}
}
}
static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__1() {
_start:
{
size_t x_1; size_t x_2; size_t x_3; 
x_1 = 1;
x_2 = 5;
x_3 = lean_usize_shift_left(x_1, x_2);
return x_3;
}
}
static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__2() {
_start:
{
size_t x_1; size_t x_2; size_t x_3; 
x_1 = 1;
x_2 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__1;
x_3 = lean_usize_sub(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0));
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_7 = lean_ctor_get(x_1, 0);
x_8 = 1;
x_9 = 5;
x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__2;
x_11 = lean_usize_land(x_2, x_10);
x_12 = lean_usize_to_nat(x_11);
x_13 = lean_array_get_size(x_7);
x_14 = lean_nat_dec_lt(x_12, x_13);
lean_dec(x_13);
if (x_14 == 0)
{
lean_dec(x_12);
lean_dec(x_4);
return x_1;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_array_fget(x_7, x_12);
x_16 = lean_box(0);
x_17 = lean_array_fset(x_7, x_12, x_16);
switch (lean_obj_tag(x_15)) {
case 0:
{
uint8_t x_18; 
x_18 = !lean_is_exclusive(x_15);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_19 = lean_ctor_get(x_15, 0);
x_20 = lean_ctor_get(x_15, 1);
x_21 = lean_name_eq(x_4, x_19);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
lean_free_object(x_15);
x_22 = lean_box(x_5);
x_23 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_19, x_20, x_4, x_22);
x_24 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_24, 0, x_23);
x_25 = lean_array_fset(x_17, x_12, x_24);
lean_dec(x_12);
lean_ctor_set(x_1, 0, x_25);
return x_1;
}
else
{
lean_object* x_26; lean_object* x_27; 
lean_dec(x_20);
lean_dec(x_19);
x_26 = lean_box(x_5);
lean_ctor_set(x_15, 1, x_26);
lean_ctor_set(x_15, 0, x_4);
x_27 = lean_array_fset(x_17, x_12, x_15);
lean_dec(x_12);
lean_ctor_set(x_1, 0, x_27);
return x_1;
}
}
else
{
lean_object* x_28; lean_object* x_29; uint8_t x_30; 
x_28 = lean_ctor_get(x_15, 0);
x_29 = lean_ctor_get(x_15, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_15);
x_30 = lean_name_eq(x_4, x_28);
if (x_30 == 0)
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_31 = lean_box(x_5);
x_32 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_28, x_29, x_4, x_31);
x_33 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_33, 0, x_32);
x_34 = lean_array_fset(x_17, x_12, x_33);
lean_dec(x_12);
lean_ctor_set(x_1, 0, x_34);
return x_1;
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
lean_dec(x_29);
lean_dec(x_28);
x_35 = lean_box(x_5);
x_36 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_36, 0, x_4);
lean_ctor_set(x_36, 1, x_35);
x_37 = lean_array_fset(x_17, x_12, x_36);
lean_dec(x_12);
lean_ctor_set(x_1, 0, x_37);
return x_1;
}
}
}
case 1:
{
uint8_t x_38; 
x_38 = !lean_is_exclusive(x_15);
if (x_38 == 0)
{
lean_object* x_39; size_t x_40; size_t x_41; lean_object* x_42; lean_object* x_43; 
x_39 = lean_ctor_get(x_15, 0);
x_40 = lean_usize_shift_right(x_2, x_9);
x_41 = lean_usize_add(x_3, x_8);
x_42 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3(x_39, x_40, x_41, x_4, x_5);
lean_ctor_set(x_15, 0, x_42);
x_43 = lean_array_fset(x_17, x_12, x_15);
lean_dec(x_12);
lean_ctor_set(x_1, 0, x_43);
return x_1;
}
else
{
lean_object* x_44; size_t x_45; size_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_44 = lean_ctor_get(x_15, 0);
lean_inc(x_44);
lean_dec(x_15);
x_45 = lean_usize_shift_right(x_2, x_9);
x_46 = lean_usize_add(x_3, x_8);
x_47 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3(x_44, x_45, x_46, x_4, x_5);
x_48 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_48, 0, x_47);
x_49 = lean_array_fset(x_17, x_12, x_48);
lean_dec(x_12);
lean_ctor_set(x_1, 0, x_49);
return x_1;
}
}
default: 
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_50 = lean_box(x_5);
x_51 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_51, 0, x_4);
lean_ctor_set(x_51, 1, x_50);
x_52 = lean_array_fset(x_17, x_12, x_51);
lean_dec(x_12);
lean_ctor_set(x_1, 0, x_52);
return x_1;
}
}
}
}
else
{
lean_object* x_53; size_t x_54; size_t x_55; size_t x_56; size_t x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; 
x_53 = lean_ctor_get(x_1, 0);
lean_inc(x_53);
lean_dec(x_1);
x_54 = 1;
x_55 = 5;
x_56 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__2;
x_57 = lean_usize_land(x_2, x_56);
x_58 = lean_usize_to_nat(x_57);
x_59 = lean_array_get_size(x_53);
x_60 = lean_nat_dec_lt(x_58, x_59);
lean_dec(x_59);
if (x_60 == 0)
{
lean_object* x_61; 
lean_dec(x_58);
lean_dec(x_4);
x_61 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_61, 0, x_53);
return x_61;
}
else
{
lean_object* x_62; lean_object* x_63; lean_object* x_64; 
x_62 = lean_array_fget(x_53, x_58);
x_63 = lean_box(0);
x_64 = lean_array_fset(x_53, x_58, x_63);
switch (lean_obj_tag(x_62)) {
case 0:
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; 
x_65 = lean_ctor_get(x_62, 0);
lean_inc(x_65);
x_66 = lean_ctor_get(x_62, 1);
lean_inc(x_66);
if (lean_is_exclusive(x_62)) {
 lean_ctor_release(x_62, 0);
 lean_ctor_release(x_62, 1);
 x_67 = x_62;
} else {
 lean_dec_ref(x_62);
 x_67 = lean_box(0);
}
x_68 = lean_name_eq(x_4, x_65);
if (x_68 == 0)
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; 
lean_dec(x_67);
x_69 = lean_box(x_5);
x_70 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_65, x_66, x_4, x_69);
x_71 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_71, 0, x_70);
x_72 = lean_array_fset(x_64, x_58, x_71);
lean_dec(x_58);
x_73 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_73, 0, x_72);
return x_73;
}
else
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; 
lean_dec(x_66);
lean_dec(x_65);
x_74 = lean_box(x_5);
if (lean_is_scalar(x_67)) {
 x_75 = lean_alloc_ctor(0, 2, 0);
} else {
 x_75 = x_67;
}
lean_ctor_set(x_75, 0, x_4);
lean_ctor_set(x_75, 1, x_74);
x_76 = lean_array_fset(x_64, x_58, x_75);
lean_dec(x_58);
x_77 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_77, 0, x_76);
return x_77;
}
}
case 1:
{
lean_object* x_78; lean_object* x_79; size_t x_80; size_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 
x_78 = lean_ctor_get(x_62, 0);
lean_inc(x_78);
if (lean_is_exclusive(x_62)) {
 lean_ctor_release(x_62, 0);
 x_79 = x_62;
} else {
 lean_dec_ref(x_62);
 x_79 = lean_box(0);
}
x_80 = lean_usize_shift_right(x_2, x_55);
x_81 = lean_usize_add(x_3, x_54);
x_82 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3(x_78, x_80, x_81, x_4, x_5);
if (lean_is_scalar(x_79)) {
 x_83 = lean_alloc_ctor(1, 1, 0);
} else {
 x_83 = x_79;
}
lean_ctor_set(x_83, 0, x_82);
x_84 = lean_array_fset(x_64, x_58, x_83);
lean_dec(x_58);
x_85 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_85, 0, x_84);
return x_85;
}
default: 
{
lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; 
x_86 = lean_box(x_5);
x_87 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_87, 0, x_4);
lean_ctor_set(x_87, 1, x_86);
x_88 = lean_array_fset(x_64, x_58, x_87);
lean_dec(x_58);
x_89 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_89, 0, x_88);
return x_89;
}
}
}
}
}
else
{
uint8_t x_90; 
x_90 = !lean_is_exclusive(x_1);
if (x_90 == 0)
{
lean_object* x_91; lean_object* x_92; size_t x_93; uint8_t x_94; 
x_91 = lean_unsigned_to_nat(0u);
x_92 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__5(x_1, x_91, x_4, x_5);
x_93 = 7;
x_94 = lean_usize_dec_le(x_93, x_3);
if (x_94 == 0)
{
lean_object* x_95; lean_object* x_96; uint8_t x_97; 
x_95 = l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(x_92);
x_96 = lean_unsigned_to_nat(4u);
x_97 = lean_nat_dec_lt(x_95, x_96);
lean_dec(x_95);
if (x_97 == 0)
{
lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; 
x_98 = lean_ctor_get(x_92, 0);
lean_inc(x_98);
x_99 = lean_ctor_get(x_92, 1);
lean_inc(x_99);
lean_dec(x_92);
x_100 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__3;
x_101 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__4(x_3, x_98, x_99, lean_box(0), x_91, x_100);
lean_dec(x_99);
lean_dec(x_98);
return x_101;
}
else
{
return x_92;
}
}
else
{
return x_92;
}
}
else
{
lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; size_t x_107; uint8_t x_108; 
x_102 = lean_ctor_get(x_1, 0);
x_103 = lean_ctor_get(x_1, 1);
lean_inc(x_103);
lean_inc(x_102);
lean_dec(x_1);
x_104 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_104, 0, x_102);
lean_ctor_set(x_104, 1, x_103);
x_105 = lean_unsigned_to_nat(0u);
x_106 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__5(x_104, x_105, x_4, x_5);
x_107 = 7;
x_108 = lean_usize_dec_le(x_107, x_3);
if (x_108 == 0)
{
lean_object* x_109; lean_object* x_110; uint8_t x_111; 
x_109 = l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(x_106);
x_110 = lean_unsigned_to_nat(4u);
x_111 = lean_nat_dec_lt(x_109, x_110);
lean_dec(x_109);
if (x_111 == 0)
{
lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; 
x_112 = lean_ctor_get(x_106, 0);
lean_inc(x_112);
x_113 = lean_ctor_get(x_106, 1);
lean_inc(x_113);
lean_dec(x_106);
x_114 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__3;
x_115 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__4(x_3, x_112, x_113, lean_box(0), x_105, x_114);
lean_dec(x_113);
lean_dec(x_112);
return x_115;
}
else
{
return x_106;
}
}
else
{
return x_106;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3) {
_start:
{
uint64_t x_4; size_t x_5; size_t x_6; lean_object* x_7; 
x_4 = l_Lean_Name_hash___override(x_2);
x_5 = lean_uint64_to_usize(x_4);
x_6 = 1;
x_7 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3(x_1, x_5, x_6, x_2, x_3);
return x_7;
}
}
LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__7(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_3; 
x_3 = 0;
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 2);
x_6 = lean_name_eq(x_4, x_1);
if (x_6 == 0)
{
x_2 = x_5;
goto _start;
}
else
{
uint8_t x_8; 
x_8 = 1;
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__10(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
return x_1;
}
else
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 2);
x_6 = lean_array_get_size(x_1);
x_7 = l_Lean_Name_hash___override(x_4);
x_8 = lean_hashmap_mk_idx(x_6, x_7);
x_9 = lean_array_uget(x_1, x_8);
lean_ctor_set(x_2, 2, x_9);
x_10 = lean_array_uset(x_1, x_8, x_2);
x_1 = x_10;
x_2 = x_5;
goto _start;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint64_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_12 = lean_ctor_get(x_2, 0);
x_13 = lean_ctor_get(x_2, 1);
x_14 = lean_ctor_get(x_2, 2);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_2);
x_15 = lean_array_get_size(x_1);
x_16 = l_Lean_Name_hash___override(x_12);
x_17 = lean_hashmap_mk_idx(x_15, x_16);
x_18 = lean_array_uget(x_1, x_17);
x_19 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_19, 0, x_12);
lean_ctor_set(x_19, 1, x_13);
lean_ctor_set(x_19, 2, x_18);
x_20 = lean_array_uset(x_1, x_17, x_19);
x_1 = x_20;
x_2 = x_14;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_array_get_size(x_2);
x_5 = lean_nat_dec_lt(x_1, x_4);
lean_dec(x_4);
if (x_5 == 0)
{
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_6 = lean_array_fget(x_2, x_1);
x_7 = lean_box(0);
x_8 = lean_array_fset(x_2, x_1, x_7);
x_9 = l_Lean_AssocList_foldlM___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__10(x_3, x_6);
x_10 = lean_unsigned_to_nat(1u);
x_11 = lean_nat_add(x_1, x_10);
lean_dec(x_1);
x_1 = x_11;
x_2 = x_8;
x_3 = x_9;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__8(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_3 = lean_array_get_size(x_2);
x_4 = lean_unsigned_to_nat(2u);
x_5 = lean_nat_mul(x_3, x_4);
lean_dec(x_3);
x_6 = lean_box(0);
x_7 = lean_mk_array(x_5, x_6);
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Lean_HashMapImp_moveEntries___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__9(x_8, x_2, x_7);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_1);
lean_ctor_set(x_10, 1, x_9);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__11(lean_object* x_1, uint8_t x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_4; 
lean_dec(x_1);
x_4 = lean_box(0);
return x_4;
}
else
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_3);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_6 = lean_ctor_get(x_3, 0);
x_7 = lean_ctor_get(x_3, 1);
x_8 = lean_ctor_get(x_3, 2);
x_9 = lean_name_eq(x_6, x_1);
if (x_9 == 0)
{
lean_object* x_10; 
x_10 = l_Lean_AssocList_replace___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__11(x_1, x_2, x_8);
lean_ctor_set(x_3, 2, x_10);
return x_3;
}
else
{
lean_object* x_11; 
lean_dec(x_7);
lean_dec(x_6);
x_11 = lean_box(x_2);
lean_ctor_set(x_3, 1, x_11);
lean_ctor_set(x_3, 0, x_1);
return x_3;
}
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_12 = lean_ctor_get(x_3, 0);
x_13 = lean_ctor_get(x_3, 1);
x_14 = lean_ctor_get(x_3, 2);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_3);
x_15 = lean_name_eq(x_12, x_1);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; 
x_16 = l_Lean_AssocList_replace___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__11(x_1, x_2, x_14);
x_17 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_17, 0, x_12);
lean_ctor_set(x_17, 1, x_13);
lean_ctor_set(x_17, 2, x_16);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; 
lean_dec(x_13);
lean_dec(x_12);
x_18 = lean_box(x_2);
x_19 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_19, 0, x_1);
lean_ctor_set(x_19, 1, x_18);
lean_ctor_set(x_19, 2, x_14);
return x_19;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3) {
_start:
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_1);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = lean_array_get_size(x_6);
x_8 = l_Lean_Name_hash___override(x_2);
lean_inc(x_7);
x_9 = lean_hashmap_mk_idx(x_7, x_8);
x_10 = lean_array_uget(x_6, x_9);
x_11 = l_Lean_AssocList_contains___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__7(x_2, x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_12 = lean_unsigned_to_nat(1u);
x_13 = lean_nat_add(x_5, x_12);
lean_dec(x_5);
x_14 = lean_box(x_3);
x_15 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_15, 0, x_2);
lean_ctor_set(x_15, 1, x_14);
lean_ctor_set(x_15, 2, x_10);
x_16 = lean_array_uset(x_6, x_9, x_15);
x_17 = l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(x_13);
x_18 = lean_nat_dec_le(x_17, x_7);
lean_dec(x_7);
lean_dec(x_17);
if (x_18 == 0)
{
lean_object* x_19; 
lean_free_object(x_1);
x_19 = l_Lean_HashMapImp_expand___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__8(x_13, x_16);
return x_19;
}
else
{
lean_ctor_set(x_1, 1, x_16);
lean_ctor_set(x_1, 0, x_13);
return x_1;
}
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
lean_dec(x_7);
x_20 = lean_box(0);
x_21 = lean_array_uset(x_6, x_9, x_20);
x_22 = l_Lean_AssocList_replace___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__11(x_2, x_3, x_10);
x_23 = lean_array_uset(x_21, x_9, x_22);
lean_ctor_set(x_1, 1, x_23);
return x_1;
}
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; uint64_t x_27; size_t x_28; lean_object* x_29; uint8_t x_30; 
x_24 = lean_ctor_get(x_1, 0);
x_25 = lean_ctor_get(x_1, 1);
lean_inc(x_25);
lean_inc(x_24);
lean_dec(x_1);
x_26 = lean_array_get_size(x_25);
x_27 = l_Lean_Name_hash___override(x_2);
lean_inc(x_26);
x_28 = lean_hashmap_mk_idx(x_26, x_27);
x_29 = lean_array_uget(x_25, x_28);
x_30 = l_Lean_AssocList_contains___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__7(x_2, x_29);
if (x_30 == 0)
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_31 = lean_unsigned_to_nat(1u);
x_32 = lean_nat_add(x_24, x_31);
lean_dec(x_24);
x_33 = lean_box(x_3);
x_34 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_34, 0, x_2);
lean_ctor_set(x_34, 1, x_33);
lean_ctor_set(x_34, 2, x_29);
x_35 = lean_array_uset(x_25, x_28, x_34);
x_36 = l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(x_32);
x_37 = lean_nat_dec_le(x_36, x_26);
lean_dec(x_26);
lean_dec(x_36);
if (x_37 == 0)
{
lean_object* x_38; 
x_38 = l_Lean_HashMapImp_expand___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__8(x_32, x_35);
return x_38;
}
else
{
lean_object* x_39; 
x_39 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_39, 0, x_32);
lean_ctor_set(x_39, 1, x_35);
return x_39;
}
}
else
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 
lean_dec(x_26);
x_40 = lean_box(0);
x_41 = lean_array_uset(x_25, x_28, x_40);
x_42 = l_Lean_AssocList_replace___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__11(x_2, x_3, x_29);
x_43 = lean_array_uset(x_41, x_28, x_42);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_24);
lean_ctor_set(x_44, 1, x_43);
return x_44;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*2);
if (x_4 == 0)
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_1);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_6 = lean_ctor_get(x_1, 1);
x_7 = l_Lean_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__2(x_6, x_2, x_3);
x_8 = 0;
lean_ctor_set(x_1, 1, x_7);
lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_8);
return x_1;
}
else
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; 
x_9 = lean_ctor_get(x_1, 0);
x_10 = lean_ctor_get(x_1, 1);
lean_inc(x_10);
lean_inc(x_9);
lean_dec(x_1);
x_11 = l_Lean_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__2(x_10, x_2, x_3);
x_12 = 0;
x_13 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_13, 0, x_9);
lean_ctor_set(x_13, 1, x_11);
lean_ctor_set_uint8(x_13, sizeof(void*)*2, x_12);
return x_13;
}
}
else
{
uint8_t x_14; 
x_14 = !lean_is_exclusive(x_1);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_15 = lean_ctor_get(x_1, 0);
x_16 = l_Lean_HashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__6(x_15, x_2, x_3);
x_17 = 1;
lean_ctor_set(x_1, 0, x_16);
lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_17);
return x_1;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; 
x_18 = lean_ctor_get(x_1, 0);
x_19 = lean_ctor_get(x_1, 1);
lean_inc(x_19);
lean_inc(x_18);
lean_dec(x_1);
x_20 = l_Lean_HashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__6(x_18, x_2, x_3);
x_21 = 1;
x_22 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_19);
lean_ctor_set_uint8(x_22, sizeof(void*)*2, x_21);
return x_22;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__12(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_mkHashMapImp___rarg(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__13(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*2);
if (x_2 == 0)
{
return x_1;
}
else
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
uint8_t x_4; 
x_4 = 0;
lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_4);
return x_1;
}
else
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
lean_inc(x_6);
lean_inc(x_5);
lean_dec(x_1);
x_7 = 0;
x_8 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_8, 0, x_5);
lean_ctor_set(x_8, 1, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*2, x_7);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; 
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_2, 1);
lean_inc(x_4);
lean_dec(x_2);
x_5 = lean_unbox(x_4);
lean_dec(x_4);
x_6 = l_Lean_SMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__1(x_1, x_3, x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("reducibilityExtra", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__3;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____lambda__1), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__13), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_2 = lean_unsigned_to_nat(8u);
x_3 = l_Lean_mkHashMapImp___rarg(x_2);
x_4 = 1;
x_5 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__4;
x_6 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_5);
lean_ctor_set_uint8(x_6, sizeof(void*)*2, x_4);
x_7 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__2;
x_8 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__5;
x_9 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__6;
x_10 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_10, 0, x_7);
lean_ctor_set(x_10, 1, x_8);
lean_ctor_set(x_10, 2, x_6);
lean_ctor_set(x_10, 3, x_9);
x_11 = l_Lean_registerSimpleScopedEnvExtension___rarg(x_10, x_1);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
size_t x_7; lean_object* x_8; 
x_7 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_8 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__4(x_7, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_3);
lean_dec(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6; 
x_5 = lean_unbox(x_4);
lean_dec(x_4);
x_6 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__5(x_1, x_2, x_3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; uint8_t x_8; lean_object* x_9; 
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_8 = lean_unbox(x_5);
lean_dec(x_5);
x_9 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3(x_1, x_6, x_7, x_4, x_8);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = lean_unbox(x_3);
lean_dec(x_3);
x_5 = l_Lean_PersistentHashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__2(x_1, x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__7___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_AssocList_contains___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__7(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = lean_unbox(x_2);
lean_dec(x_2);
x_5 = l_Lean_AssocList_replace___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__11(x_1, x_4, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = lean_unbox(x_3);
lean_dec(x_3);
x_5 = l_Lean_HashMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__6(x_1, x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = lean_unbox(x_3);
lean_dec(x_3);
x_5 = l_Lean_SMap_insert___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__1(x_1, x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__12___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_mkHashMap___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__12(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_getReducibilityStatusCore___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_7; 
x_6 = lean_array_get_size(x_1);
x_7 = lean_nat_dec_lt(x_4, x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_object* x_8; 
lean_dec(x_4);
x_8 = lean_box(0);
return x_8;
}
else
{
lean_object* x_9; uint8_t x_10; 
x_9 = lean_array_fget(x_1, x_4);
x_10 = lean_name_eq(x_5, x_9);
lean_dec(x_9);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; 
x_11 = lean_unsigned_to_nat(1u);
x_12 = lean_nat_add(x_4, x_11);
lean_dec(x_4);
x_3 = lean_box(0);
x_4 = x_12;
goto _start;
}
else
{
lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; 
x_14 = lean_array_fget(x_2, x_4);
lean_dec(x_4);
x_15 = lean_unbox(x_14);
lean_dec(x_14);
x_16 = lean_box(x_15);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_getReducibilityStatusCore___spec__3(lean_object* x_1, size_t x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_1);
if (x_4 == 0)
{
lean_object* x_5; size_t x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = 5;
x_7 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__2;
x_8 = lean_usize_land(x_2, x_7);
x_9 = lean_usize_to_nat(x_8);
x_10 = lean_box(2);
x_11 = lean_array_get(x_10, x_5, x_9);
lean_dec(x_9);
lean_dec(x_5);
switch (lean_obj_tag(x_11)) {
case 0:
{
lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_11, 1);
lean_inc(x_13);
lean_dec(x_11);
x_14 = lean_name_eq(x_3, x_12);
lean_dec(x_12);
if (x_14 == 0)
{
lean_object* x_15; 
lean_dec(x_13);
lean_free_object(x_1);
x_15 = lean_box(0);
return x_15;
}
else
{
lean_ctor_set_tag(x_1, 1);
lean_ctor_set(x_1, 0, x_13);
return x_1;
}
}
case 1:
{
lean_object* x_16; size_t x_17; 
lean_free_object(x_1);
x_16 = lean_ctor_get(x_11, 0);
lean_inc(x_16);
lean_dec(x_11);
x_17 = lean_usize_shift_right(x_2, x_6);
x_1 = x_16;
x_2 = x_17;
goto _start;
}
default: 
{
lean_object* x_19; 
lean_free_object(x_1);
x_19 = lean_box(0);
return x_19;
}
}
}
else
{
lean_object* x_20; size_t x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_20 = lean_ctor_get(x_1, 0);
lean_inc(x_20);
lean_dec(x_1);
x_21 = 5;
x_22 = l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__2;
x_23 = lean_usize_land(x_2, x_22);
x_24 = lean_usize_to_nat(x_23);
x_25 = lean_box(2);
x_26 = lean_array_get(x_25, x_20, x_24);
lean_dec(x_24);
lean_dec(x_20);
switch (lean_obj_tag(x_26)) {
case 0:
{
lean_object* x_27; lean_object* x_28; uint8_t x_29; 
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
x_28 = lean_ctor_get(x_26, 1);
lean_inc(x_28);
lean_dec(x_26);
x_29 = lean_name_eq(x_3, x_27);
lean_dec(x_27);
if (x_29 == 0)
{
lean_object* x_30; 
lean_dec(x_28);
x_30 = lean_box(0);
return x_30;
}
else
{
lean_object* x_31; 
x_31 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_31, 0, x_28);
return x_31;
}
}
case 1:
{
lean_object* x_32; size_t x_33; 
x_32 = lean_ctor_get(x_26, 0);
lean_inc(x_32);
lean_dec(x_26);
x_33 = lean_usize_shift_right(x_2, x_21);
x_1 = x_32;
x_2 = x_33;
goto _start;
}
default: 
{
lean_object* x_35; 
x_35 = lean_box(0);
return x_35;
}
}
}
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_36 = lean_ctor_get(x_1, 0);
lean_inc(x_36);
x_37 = lean_ctor_get(x_1, 1);
lean_inc(x_37);
lean_dec(x_1);
x_38 = lean_unsigned_to_nat(0u);
x_39 = l_Lean_PersistentHashMap_findAtAux___at_Lean_getReducibilityStatusCore___spec__4(x_36, x_37, lean_box(0), x_38, x_3);
lean_dec(x_37);
lean_dec(x_36);
return x_39;
}
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
uint64_t x_3; size_t x_4; lean_object* x_5; 
x_3 = l_Lean_Name_hash___override(x_2);
x_4 = lean_uint64_to_usize(x_3);
x_5 = l_Lean_PersistentHashMap_findAux___at_Lean_getReducibilityStatusCore___spec__3(x_1, x_4, x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_getReducibilityStatusCore___spec__6(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 1);
x_6 = lean_ctor_get(x_2, 2);
x_7 = lean_name_eq(x_4, x_1);
if (x_7 == 0)
{
x_2 = x_6;
goto _start;
}
else
{
lean_object* x_9; 
lean_inc(x_5);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_5);
return x_9;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_getReducibilityStatusCore___spec__5(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint64_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; 
x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_array_get_size(x_3);
x_5 = l_Lean_Name_hash___override(x_2);
x_6 = lean_hashmap_mk_idx(x_4, x_5);
x_7 = lean_array_uget(x_3, x_6);
x_8 = l_Lean_AssocList_find_x3f___at_Lean_getReducibilityStatusCore___spec__6(x_2, x_7);
lean_dec(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
x_5 = lean_ctor_get(x_1, 1);
lean_inc(x_5);
lean_dec(x_1);
x_6 = l_Lean_PersistentHashMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__2(x_5, x_2);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_7; 
x_7 = l_Lean_HashMapImp_find_x3f___at_Lean_getReducibilityStatusCore___spec__5(x_4, x_2);
lean_dec(x_4);
return x_7;
}
else
{
uint8_t x_8; 
lean_dec(x_4);
x_8 = !lean_is_exclusive(x_6);
if (x_8 == 0)
{
return x_6;
}
else
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_6, 0);
lean_inc(x_9);
lean_dec(x_6);
x_10 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_10, 0, x_9);
return x_10;
}
}
}
else
{
lean_object* x_11; lean_object* x_12; 
x_11 = lean_ctor_get(x_1, 0);
lean_inc(x_11);
lean_dec(x_1);
x_12 = l_Lean_HashMapImp_find_x3f___at_Lean_getReducibilityStatusCore___spec__5(x_11, x_2);
lean_dec(x_11);
return x_12;
}
}
}
LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_getReducibilityStatusCore___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_nat_dec_le(x_4, x_5);
if (x_6 == 0)
{
lean_object* x_7; 
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_7 = lean_box(0);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_8 = lean_nat_add(x_4, x_5);
x_9 = lean_unsigned_to_nat(2u);
x_10 = lean_nat_div(x_8, x_9);
lean_dec(x_8);
lean_inc(x_3);
x_11 = lean_array_get(x_3, x_2, x_10);
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
x_14 = l_Lean_Name_quickLt(x_12, x_13);
if (x_14 == 0)
{
uint8_t x_15; 
lean_dec(x_5);
x_15 = l_Lean_Name_quickLt(x_13, x_12);
lean_dec(x_12);
lean_dec(x_13);
if (x_15 == 0)
{
lean_object* x_16; 
lean_dec(x_10);
lean_dec(x_4);
lean_dec(x_3);
x_16 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_16, 0, x_11);
return x_16;
}
else
{
lean_object* x_17; uint8_t x_18; 
lean_dec(x_11);
x_17 = lean_unsigned_to_nat(0u);
x_18 = lean_nat_dec_eq(x_10, x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; 
x_19 = lean_unsigned_to_nat(1u);
x_20 = lean_nat_sub(x_10, x_19);
lean_dec(x_10);
x_5 = x_20;
goto _start;
}
else
{
lean_object* x_22; 
lean_dec(x_10);
lean_dec(x_4);
lean_dec(x_3);
x_22 = lean_box(0);
return x_22;
}
}
}
else
{
lean_object* x_23; lean_object* x_24; 
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_4);
x_23 = lean_unsigned_to_nat(1u);
x_24 = lean_nat_add(x_10, x_23);
lean_dec(x_10);
x_4 = x_24;
goto _start;
}
}
}
}
static lean_object* _init_l_Lean_getReducibilityStatusCore___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Name_instBEq;
x_2 = l_Lean_instHashableName;
x_3 = l_Lean_SMap_instInhabited___rarg(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_getReducibilityStatusCore___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_reducibilityExtraExt;
return x_1;
}
}
static lean_object* _init_l_Lean_getReducibilityStatusCore___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_reducibilityCoreExt;
return x_1;
}
}
LEAN_EXPORT uint8_t lean_get_reducibility_status(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = l_Lean_getReducibilityStatusCore___closed__1;
x_4 = l_Lean_getReducibilityStatusCore___closed__2;
x_5 = l_Lean_ScopedEnvExtension_getState___rarg(x_3, x_4, x_1);
x_6 = l_Lean_SMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__1(x_5, x_2);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_7; 
x_7 = l_Lean_Environment_getModuleIdxFor_x3f(x_1, x_2);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_box(0);
x_9 = l_Lean_getReducibilityStatusCore___closed__3;
x_10 = l_Lean_PersistentEnvExtension_getState___rarg(x_8, x_9, x_1);
lean_dec(x_1);
x_11 = l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(x_10, x_2);
lean_dec(x_2);
lean_dec(x_10);
if (lean_obj_tag(x_11) == 0)
{
uint8_t x_12; 
x_12 = 1;
return x_12;
}
else
{
lean_object* x_13; uint8_t x_14; 
x_13 = lean_ctor_get(x_11, 0);
lean_inc(x_13);
lean_dec(x_11);
x_14 = lean_unbox(x_13);
lean_dec(x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; 
x_15 = lean_ctor_get(x_7, 0);
lean_inc(x_15);
lean_dec(x_7);
x_16 = lean_box(0);
x_17 = l_Lean_getReducibilityStatusCore___closed__3;
x_18 = l_Lean_PersistentEnvExtension_getModuleEntries___rarg(x_16, x_17, x_1, x_15);
lean_dec(x_15);
lean_dec(x_1);
x_19 = 1;
x_20 = lean_box(x_19);
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_2);
lean_ctor_set(x_21, 1, x_20);
x_22 = lean_array_get_size(x_18);
x_23 = lean_unsigned_to_nat(1u);
x_24 = lean_nat_sub(x_22, x_23);
x_25 = lean_unsigned_to_nat(0u);
x_26 = lean_nat_dec_lt(x_25, x_22);
lean_dec(x_22);
if (x_26 == 0)
{
uint8_t x_27; 
lean_dec(x_24);
lean_dec(x_21);
lean_dec(x_18);
x_27 = 1;
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; 
x_28 = lean_box(0);
x_29 = l_Array_binSearchAux___at_Lean_getReducibilityStatusCore___spec__7(x_28, x_18, x_21, x_25, x_24);
lean_dec(x_18);
if (lean_obj_tag(x_29) == 0)
{
uint8_t x_30; 
x_30 = 1;
return x_30;
}
else
{
lean_object* x_31; lean_object* x_32; uint8_t x_33; 
x_31 = lean_ctor_get(x_29, 0);
lean_inc(x_31);
lean_dec(x_29);
x_32 = lean_ctor_get(x_31, 1);
lean_inc(x_32);
lean_dec(x_31);
x_33 = lean_unbox(x_32);
lean_dec(x_32);
return x_33;
}
}
}
}
else
{
lean_object* x_34; uint8_t x_35; 
lean_dec(x_2);
lean_dec(x_1);
x_34 = lean_ctor_get(x_6, 0);
lean_inc(x_34);
lean_dec(x_6);
x_35 = lean_unbox(x_34);
lean_dec(x_34);
return x_35;
}
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_getReducibilityStatusCore___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_PersistentHashMap_findAtAux___at_Lean_getReducibilityStatusCore___spec__4(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec(x_2);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_getReducibilityStatusCore___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; lean_object* x_5; 
x_4 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_5 = l_Lean_PersistentHashMap_findAux___at_Lean_getReducibilityStatusCore___spec__3(x_1, x_4, x_3);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_PersistentHashMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__2(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_getReducibilityStatusCore___spec__6___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_AssocList_find_x3f___at_Lean_getReducibilityStatusCore___spec__6(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_getReducibilityStatusCore___spec__5___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_HashMapImp_find_x3f___at_Lean_getReducibilityStatusCore___spec__5(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_SMap_find_x3f___at_Lean_getReducibilityStatusCore___spec__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_getReducibilityStatusCore___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Array_binSearchAux___at_Lean_getReducibilityStatusCore___spec__7(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_2);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatusCore___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = lean_get_reducibility_status(x_1, x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = lean_box(x_4);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_7; 
lean_dec(x_5);
x_7 = l_Lean_Environment_getModuleIdxFor_x3f(x_1, x_2);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_box(x_3);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_2);
lean_ctor_set(x_9, 1, x_8);
x_10 = l_Lean_getReducibilityStatusCore___closed__3;
x_11 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_10, x_1, x_9);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
lean_dec(x_7);
x_12 = lean_box(x_3);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_2);
lean_ctor_set(x_13, 1, x_12);
x_14 = l_Lean_getReducibilityStatusCore___closed__2;
x_15 = l_Lean_ScopedEnvExtension_addEntry___rarg(x_14, x_1, x_13);
return x_15;
}
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
lean_dec(x_6);
x_16 = lean_box(x_3);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_2);
lean_ctor_set(x_17, 1, x_16);
x_18 = l_Lean_getReducibilityStatusCore___closed__2;
x_19 = l_Lean_ScopedEnvExtension_addCore___rarg(x_1, x_18, x_17, x_4, x_5);
return x_19;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; uint8_t x_7; lean_object* x_8; 
x_6 = lean_unbox(x_3);
lean_dec(x_3);
x_7 = lean_unbox(x_4);
lean_dec(x_4);
x_8 = l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(x_1, x_2, x_6, x_7, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* lean_set_reducibility_status(lean_object* x_1, lean_object* x_2, uint8_t x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; lean_object* x_6; 
x_4 = 0;
x_5 = lean_box(0);
x_6 = l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(x_1, x_2, x_3, x_4, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusImp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = lean_unbox(x_3);
lean_dec(x_3);
x_5 = lean_set_reducibility_status(x_1, x_2, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("allowUnsafeReducibility", 23, 23);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("enables users to modify the reducibility settings for declarations even when such changes are deemed potentially hazardous. For example, `simp` and type class resolution maintain term indices where reducible declarations are expanded.", 234, 234);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__5() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 0;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__3;
x_3 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__4;
x_4 = lean_box(x_1);
x_5 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__6;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__2;
x_3 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__5;
x_4 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__7;
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_6____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_ctor_get(x_2, 5);
x_6 = l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(x_1, x_2, x_3, x_4);
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_6, 0);
lean_inc(x_5);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_5);
lean_ctor_set(x_9, 1, x_8);
lean_ctor_set_tag(x_6, 1);
lean_ctor_set(x_6, 0, x_9);
return x_6;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_ctor_get(x_6, 0);
x_11 = lean_ctor_get(x_6, 1);
lean_inc(x_11);
lean_inc(x_10);
lean_dec(x_6);
lean_inc(x_5);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_5);
lean_ctor_set(x_12, 1, x_10);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_11);
return x_13;
}
}
}
static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unknown constant '", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("'", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__3;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_6; 
x_5 = lean_st_ref_get(x_3, x_4);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_7 = lean_ctor_get(x_5, 0);
x_8 = lean_ctor_get(x_5, 1);
x_9 = lean_ctor_get(x_7, 0);
lean_inc(x_9);
lean_dec(x_7);
lean_inc(x_1);
x_10 = lean_environment_find(x_9, x_1);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
lean_free_object(x_5);
x_11 = lean_box(0);
x_12 = l_Lean_Expr_const___override(x_1, x_11);
x_13 = l_Lean_MessageData_ofExpr(x_12);
x_14 = l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__2;
x_15 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_13);
x_16 = l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__4;
x_17 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_17, 0, x_15);
lean_ctor_set(x_17, 1, x_16);
x_18 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__2(x_17, x_2, x_3, x_8);
return x_18;
}
else
{
lean_object* x_19; 
lean_dec(x_1);
x_19 = lean_ctor_get(x_10, 0);
lean_inc(x_19);
lean_dec(x_10);
lean_ctor_set(x_5, 0, x_19);
return x_5;
}
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_20 = lean_ctor_get(x_5, 0);
x_21 = lean_ctor_get(x_5, 1);
lean_inc(x_21);
lean_inc(x_20);
lean_dec(x_5);
x_22 = lean_ctor_get(x_20, 0);
lean_inc(x_22);
lean_dec(x_20);
lean_inc(x_1);
x_23 = lean_environment_find(x_22, x_1);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_24 = lean_box(0);
x_25 = l_Lean_Expr_const___override(x_1, x_24);
x_26 = l_Lean_MessageData_ofExpr(x_25);
x_27 = l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__2;
x_28 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_26);
x_29 = l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__4;
x_30 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_30, 0, x_28);
lean_ctor_set(x_30, 1, x_29);
x_31 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__2(x_30, x_2, x_3, x_21);
return x_31;
}
else
{
lean_object* x_32; lean_object* x_33; 
lean_dec(x_1);
x_32 = lean_ctor_get(x_23, 0);
lean_inc(x_32);
lean_dec(x_23);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_21);
return x_33;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_ctor_get(x_2, 5);
x_6 = l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(x_1, x_2, x_3, x_4);
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_6, 0);
lean_inc(x_5);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_5);
lean_ctor_set(x_9, 1, x_8);
lean_ctor_set_tag(x_6, 1);
lean_ctor_set(x_6, 0, x_9);
return x_6;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_ctor_get(x_6, 0);
x_11 = lean_ctor_get(x_6, 1);
lean_inc(x_11);
lean_inc(x_10);
lean_dec(x_6);
lean_inc(x_5);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_5);
lean_ctor_set(x_12, 1, x_10);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_11);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_ctor_get(x_2, 5);
x_6 = l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(x_1, x_2, x_3, x_4);
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_6, 0);
lean_inc(x_5);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_5);
lean_ctor_set(x_9, 1, x_8);
lean_ctor_set_tag(x_6, 1);
lean_ctor_set(x_6, 0, x_9);
return x_6;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_ctor_get(x_6, 0);
x_11 = lean_ctor_get(x_6, 1);
lean_inc(x_11);
lean_inc(x_10);
lean_dec(x_6);
lean_inc(x_5);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_5);
lean_ctor_set(x_12, 1, x_10);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_11);
return x_13;
}
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("failed to set `[reducible]`, `", 30, 30);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("` is not currently `[semireducible]`, but `", 43, 43);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__3;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`\n", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__5;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("use `set_option allowUnsafeReducibility true` to override reducibility status validation", 88, 88);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__7;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__3;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("failed to set `[irreducible]`, `", 32, 32);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__10;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("failed to set `[semireducible]` for `", 37, 37);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__12;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`, declarations are `[semireducible]` by default\n", 49, 49);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__14;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_25; 
switch (x_3) {
case 0:
{
lean_object* x_42; 
x_42 = lean_box(x_2);
if (lean_obj_tag(x_42) == 1)
{
lean_object* x_43; lean_object* x_44; 
lean_dec(x_1);
x_43 = lean_box(0);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_7);
return x_44;
}
else
{
lean_object* x_45; 
lean_dec(x_42);
x_45 = lean_box(0);
x_8 = x_45;
goto block_24;
}
}
case 1:
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; 
x_46 = l_Lean_MessageData_ofName(x_1);
x_47 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__13;
x_48 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_48, 0, x_47);
lean_ctor_set(x_48, 1, x_46);
x_49 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__15;
x_50 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_50, 0, x_48);
lean_ctor_set(x_50, 1, x_49);
x_51 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_52 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_52, 0, x_50);
lean_ctor_set(x_52, 1, x_51);
x_53 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_54 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_54, 0, x_52);
lean_ctor_set(x_54, 1, x_53);
x_55 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_54, x_5, x_6, x_7);
return x_55;
}
default: 
{
lean_object* x_56; 
x_56 = lean_box(x_2);
if (lean_obj_tag(x_56) == 1)
{
lean_object* x_57; lean_object* x_58; 
lean_dec(x_1);
x_57 = lean_box(0);
x_58 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_7);
return x_58;
}
else
{
lean_object* x_59; 
lean_dec(x_56);
x_59 = lean_box(0);
x_25 = x_59;
goto block_41;
}
}
}
block_24:
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
lean_dec(x_8);
x_9 = l_Lean_MessageData_ofName(x_1);
x_10 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__2;
x_11 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_9);
x_12 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__4;
x_13 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_12);
x_14 = l_Lean_ReducibilityStatus_toAttrString(x_2);
x_15 = l_Lean_stringToMessageData(x_14);
lean_dec(x_14);
x_16 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_16, 0, x_13);
lean_ctor_set(x_16, 1, x_15);
x_17 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__6;
x_18 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_18, 0, x_16);
lean_ctor_set(x_18, 1, x_17);
x_19 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_20 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_20, 0, x_18);
lean_ctor_set(x_20, 1, x_19);
x_21 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_22 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_21);
x_23 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_22, x_5, x_6, x_7);
return x_23;
}
block_41:
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 
lean_dec(x_25);
x_26 = l_Lean_MessageData_ofName(x_1);
x_27 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__11;
x_28 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_26);
x_29 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__4;
x_30 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_30, 0, x_28);
lean_ctor_set(x_30, 1, x_29);
x_31 = l_Lean_ReducibilityStatus_toAttrString(x_2);
x_32 = l_Lean_stringToMessageData(x_31);
lean_dec(x_31);
x_33 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_33, 0, x_30);
lean_ctor_set(x_33, 1, x_32);
x_34 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__6;
x_35 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_34);
x_36 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_37 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_37, 0, x_35);
lean_ctor_set(x_37, 1, x_36);
x_38 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_39 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_39, 0, x_37);
lean_ctor_set(x_39, 1, x_38);
x_40 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_39, x_5, x_6, x_7);
return x_40;
}
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_allowUnsafeReducibility;
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("failed to set reducibility status, `", 36, 36);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__2;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("` is not a definition\n", 22, 22);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__4;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("failed to set `[local semireducible]`, `", 40, 40);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__6;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("` is currently `", 16, 16);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__8;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`, `[irreducible]` expected\n", 28, 28);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__10;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("failed to set `[local irreducible]`, `", 38, 38);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__12;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`, `[semireducible]` expected\n", 30, 30);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__14;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("` has not been defined in this file, consider using the `local` modifier\n", 73, 73);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__16;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("failed to set `[local reducible]` for `", 39, 39);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__18;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`, recall that `[reducible]` affects the term indexing datastructures used by `simp` and type class resolution\n", 111, 111);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__20;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("failed to set reducibility status for `", 39, 39);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__22;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`, the `scoped` modifier is not recommended for this kind of attribute\n", 71, 71);
return x_1;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__24;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_7 = lean_ctor_get(x_4, 2);
x_8 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__1;
x_9 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_7, x_8);
if (x_9 == 0)
{
lean_object* x_10; 
lean_inc(x_1);
x_10 = l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1(x_1, x_4, x_5, x_6);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; 
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
if (lean_obj_tag(x_11) == 1)
{
lean_object* x_12; lean_object* x_13; uint8_t x_14; 
lean_dec(x_11);
x_12 = lean_ctor_get(x_10, 1);
lean_inc(x_12);
lean_dec(x_10);
x_13 = lean_st_ref_get(x_5, x_12);
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_36; 
x_15 = lean_ctor_get(x_13, 0);
x_16 = lean_ctor_get(x_13, 1);
x_17 = lean_ctor_get(x_15, 0);
lean_inc(x_17);
lean_dec(x_15);
lean_inc(x_1);
x_18 = lean_get_reducibility_status(x_17, x_1);
switch (x_3) {
case 0:
{
lean_object* x_53; uint8_t x_54; 
lean_free_object(x_13);
x_53 = lean_st_ref_get(x_5, x_16);
x_54 = !lean_is_exclusive(x_53);
if (x_54 == 0)
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_55 = lean_ctor_get(x_53, 0);
x_56 = lean_ctor_get(x_53, 1);
x_57 = lean_ctor_get(x_55, 0);
lean_inc(x_57);
lean_dec(x_55);
x_58 = l_Lean_Environment_getModuleIdxFor_x3f(x_57, x_1);
lean_dec(x_57);
if (lean_obj_tag(x_58) == 0)
{
lean_object* x_59; lean_object* x_60; 
lean_free_object(x_53);
x_59 = lean_box(0);
x_60 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1(x_1, x_18, x_2, x_59, x_4, x_5, x_56);
return x_60;
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; 
lean_dec(x_58);
x_61 = l_Lean_MessageData_ofName(x_1);
x_62 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__3;
lean_ctor_set_tag(x_53, 7);
lean_ctor_set(x_53, 1, x_61);
lean_ctor_set(x_53, 0, x_62);
x_63 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__17;
x_64 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_64, 0, x_53);
lean_ctor_set(x_64, 1, x_63);
x_65 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_66 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set(x_66, 1, x_65);
x_67 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_68 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_68, 0, x_66);
lean_ctor_set(x_68, 1, x_67);
x_69 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__4(x_68, x_4, x_5, x_56);
x_70 = !lean_is_exclusive(x_69);
if (x_70 == 0)
{
return x_69;
}
else
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; 
x_71 = lean_ctor_get(x_69, 0);
x_72 = lean_ctor_get(x_69, 1);
lean_inc(x_72);
lean_inc(x_71);
lean_dec(x_69);
x_73 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_73, 0, x_71);
lean_ctor_set(x_73, 1, x_72);
return x_73;
}
}
}
else
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; 
x_74 = lean_ctor_get(x_53, 0);
x_75 = lean_ctor_get(x_53, 1);
lean_inc(x_75);
lean_inc(x_74);
lean_dec(x_53);
x_76 = lean_ctor_get(x_74, 0);
lean_inc(x_76);
lean_dec(x_74);
x_77 = l_Lean_Environment_getModuleIdxFor_x3f(x_76, x_1);
lean_dec(x_76);
if (lean_obj_tag(x_77) == 0)
{
lean_object* x_78; lean_object* x_79; 
x_78 = lean_box(0);
x_79 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1(x_1, x_18, x_2, x_78, x_4, x_5, x_75);
return x_79;
}
else
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; 
lean_dec(x_77);
x_80 = l_Lean_MessageData_ofName(x_1);
x_81 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__3;
x_82 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_82, 0, x_81);
lean_ctor_set(x_82, 1, x_80);
x_83 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__17;
x_84 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_84, 0, x_82);
lean_ctor_set(x_84, 1, x_83);
x_85 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_86 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_86, 0, x_84);
lean_ctor_set(x_86, 1, x_85);
x_87 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_88 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_88, 0, x_86);
lean_ctor_set(x_88, 1, x_87);
x_89 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__4(x_88, x_4, x_5, x_75);
x_90 = lean_ctor_get(x_89, 0);
lean_inc(x_90);
x_91 = lean_ctor_get(x_89, 1);
lean_inc(x_91);
if (lean_is_exclusive(x_89)) {
 lean_ctor_release(x_89, 0);
 lean_ctor_release(x_89, 1);
 x_92 = x_89;
} else {
 lean_dec_ref(x_89);
 x_92 = lean_box(0);
}
if (lean_is_scalar(x_92)) {
 x_93 = lean_alloc_ctor(1, 2, 0);
} else {
 x_93 = x_92;
}
lean_ctor_set(x_93, 0, x_90);
lean_ctor_set(x_93, 1, x_91);
return x_93;
}
}
}
case 1:
{
switch (x_2) {
case 0:
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; 
lean_free_object(x_13);
x_94 = l_Lean_MessageData_ofName(x_1);
x_95 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__19;
x_96 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_96, 0, x_95);
lean_ctor_set(x_96, 1, x_94);
x_97 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__21;
x_98 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_98, 0, x_96);
lean_ctor_set(x_98, 1, x_97);
x_99 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_100 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_100, 0, x_98);
lean_ctor_set(x_100, 1, x_99);
x_101 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_102 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_102, 0, x_100);
lean_ctor_set(x_102, 1, x_101);
x_103 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_102, x_4, x_5, x_16);
return x_103;
}
case 1:
{
lean_object* x_104; 
x_104 = lean_box(x_18);
if (lean_obj_tag(x_104) == 2)
{
lean_object* x_105; 
lean_dec(x_1);
x_105 = lean_box(0);
lean_ctor_set(x_13, 0, x_105);
return x_13;
}
else
{
lean_object* x_106; 
lean_dec(x_104);
lean_free_object(x_13);
x_106 = lean_box(0);
x_19 = x_106;
goto block_35;
}
}
default: 
{
lean_object* x_107; 
x_107 = lean_box(x_18);
if (lean_obj_tag(x_107) == 1)
{
lean_object* x_108; 
lean_dec(x_1);
x_108 = lean_box(0);
lean_ctor_set(x_13, 0, x_108);
return x_13;
}
else
{
lean_object* x_109; 
lean_dec(x_107);
lean_free_object(x_13);
x_109 = lean_box(0);
x_36 = x_109;
goto block_52;
}
}
}
}
default: 
{
lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; 
lean_free_object(x_13);
x_110 = l_Lean_MessageData_ofName(x_1);
x_111 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__23;
x_112 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_112, 0, x_111);
lean_ctor_set(x_112, 1, x_110);
x_113 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__25;
x_114 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_114, 0, x_112);
lean_ctor_set(x_114, 1, x_113);
x_115 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_116 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_116, 0, x_114);
lean_ctor_set(x_116, 1, x_115);
x_117 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_118 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_118, 0, x_116);
lean_ctor_set(x_118, 1, x_117);
x_119 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_118, x_4, x_5, x_16);
return x_119;
}
}
block_35:
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_dec(x_19);
x_20 = l_Lean_MessageData_ofName(x_1);
x_21 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__7;
x_22 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_20);
x_23 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__9;
x_24 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
x_25 = l_Lean_ReducibilityStatus_toAttrString(x_18);
x_26 = l_Lean_stringToMessageData(x_25);
lean_dec(x_25);
x_27 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_27, 0, x_24);
lean_ctor_set(x_27, 1, x_26);
x_28 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__11;
x_29 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
x_30 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_31 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_31, 0, x_29);
lean_ctor_set(x_31, 1, x_30);
x_32 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_33 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_33, 0, x_31);
lean_ctor_set(x_33, 1, x_32);
x_34 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_33, x_4, x_5, x_16);
return x_34;
}
block_52:
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 
lean_dec(x_36);
x_37 = l_Lean_MessageData_ofName(x_1);
x_38 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__13;
x_39 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_39, 0, x_38);
lean_ctor_set(x_39, 1, x_37);
x_40 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__9;
x_41 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_41, 0, x_39);
lean_ctor_set(x_41, 1, x_40);
x_42 = l_Lean_ReducibilityStatus_toAttrString(x_18);
x_43 = l_Lean_stringToMessageData(x_42);
lean_dec(x_42);
x_44 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_44, 0, x_41);
lean_ctor_set(x_44, 1, x_43);
x_45 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__15;
x_46 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_46, 0, x_44);
lean_ctor_set(x_46, 1, x_45);
x_47 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_48 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_48, 0, x_46);
lean_ctor_set(x_48, 1, x_47);
x_49 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_50 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_50, 0, x_48);
lean_ctor_set(x_50, 1, x_49);
x_51 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_50, x_4, x_5, x_16);
return x_51;
}
}
else
{
lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_object* x_124; lean_object* x_141; 
x_120 = lean_ctor_get(x_13, 0);
x_121 = lean_ctor_get(x_13, 1);
lean_inc(x_121);
lean_inc(x_120);
lean_dec(x_13);
x_122 = lean_ctor_get(x_120, 0);
lean_inc(x_122);
lean_dec(x_120);
lean_inc(x_1);
x_123 = lean_get_reducibility_status(x_122, x_1);
switch (x_3) {
case 0:
{
lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; 
x_158 = lean_st_ref_get(x_5, x_121);
x_159 = lean_ctor_get(x_158, 0);
lean_inc(x_159);
x_160 = lean_ctor_get(x_158, 1);
lean_inc(x_160);
if (lean_is_exclusive(x_158)) {
 lean_ctor_release(x_158, 0);
 lean_ctor_release(x_158, 1);
 x_161 = x_158;
} else {
 lean_dec_ref(x_158);
 x_161 = lean_box(0);
}
x_162 = lean_ctor_get(x_159, 0);
lean_inc(x_162);
lean_dec(x_159);
x_163 = l_Lean_Environment_getModuleIdxFor_x3f(x_162, x_1);
lean_dec(x_162);
if (lean_obj_tag(x_163) == 0)
{
lean_object* x_164; lean_object* x_165; 
lean_dec(x_161);
x_164 = lean_box(0);
x_165 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1(x_1, x_123, x_2, x_164, x_4, x_5, x_160);
return x_165;
}
else
{
lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; 
lean_dec(x_163);
x_166 = l_Lean_MessageData_ofName(x_1);
x_167 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__3;
if (lean_is_scalar(x_161)) {
 x_168 = lean_alloc_ctor(7, 2, 0);
} else {
 x_168 = x_161;
 lean_ctor_set_tag(x_168, 7);
}
lean_ctor_set(x_168, 0, x_167);
lean_ctor_set(x_168, 1, x_166);
x_169 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__17;
x_170 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_170, 0, x_168);
lean_ctor_set(x_170, 1, x_169);
x_171 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_172 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_172, 0, x_170);
lean_ctor_set(x_172, 1, x_171);
x_173 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_174 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_174, 0, x_172);
lean_ctor_set(x_174, 1, x_173);
x_175 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__4(x_174, x_4, x_5, x_160);
x_176 = lean_ctor_get(x_175, 0);
lean_inc(x_176);
x_177 = lean_ctor_get(x_175, 1);
lean_inc(x_177);
if (lean_is_exclusive(x_175)) {
 lean_ctor_release(x_175, 0);
 lean_ctor_release(x_175, 1);
 x_178 = x_175;
} else {
 lean_dec_ref(x_175);
 x_178 = lean_box(0);
}
if (lean_is_scalar(x_178)) {
 x_179 = lean_alloc_ctor(1, 2, 0);
} else {
 x_179 = x_178;
}
lean_ctor_set(x_179, 0, x_176);
lean_ctor_set(x_179, 1, x_177);
return x_179;
}
}
case 1:
{
switch (x_2) {
case 0:
{
lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; 
x_180 = l_Lean_MessageData_ofName(x_1);
x_181 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__19;
x_182 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_182, 0, x_181);
lean_ctor_set(x_182, 1, x_180);
x_183 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__21;
x_184 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_184, 0, x_182);
lean_ctor_set(x_184, 1, x_183);
x_185 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_186 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_186, 0, x_184);
lean_ctor_set(x_186, 1, x_185);
x_187 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_188 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_188, 0, x_186);
lean_ctor_set(x_188, 1, x_187);
x_189 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_188, x_4, x_5, x_121);
return x_189;
}
case 1:
{
lean_object* x_190; 
x_190 = lean_box(x_123);
if (lean_obj_tag(x_190) == 2)
{
lean_object* x_191; lean_object* x_192; 
lean_dec(x_1);
x_191 = lean_box(0);
x_192 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_192, 0, x_191);
lean_ctor_set(x_192, 1, x_121);
return x_192;
}
else
{
lean_object* x_193; 
lean_dec(x_190);
x_193 = lean_box(0);
x_124 = x_193;
goto block_140;
}
}
default: 
{
lean_object* x_194; 
x_194 = lean_box(x_123);
if (lean_obj_tag(x_194) == 1)
{
lean_object* x_195; lean_object* x_196; 
lean_dec(x_1);
x_195 = lean_box(0);
x_196 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_196, 0, x_195);
lean_ctor_set(x_196, 1, x_121);
return x_196;
}
else
{
lean_object* x_197; 
lean_dec(x_194);
x_197 = lean_box(0);
x_141 = x_197;
goto block_157;
}
}
}
}
default: 
{
lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; 
x_198 = l_Lean_MessageData_ofName(x_1);
x_199 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__23;
x_200 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_200, 0, x_199);
lean_ctor_set(x_200, 1, x_198);
x_201 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__25;
x_202 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_202, 0, x_200);
lean_ctor_set(x_202, 1, x_201);
x_203 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_204 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_204, 0, x_202);
lean_ctor_set(x_204, 1, x_203);
x_205 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_206 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_206, 0, x_204);
lean_ctor_set(x_206, 1, x_205);
x_207 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_206, x_4, x_5, x_121);
return x_207;
}
}
block_140:
{
lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; 
lean_dec(x_124);
x_125 = l_Lean_MessageData_ofName(x_1);
x_126 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__7;
x_127 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_127, 0, x_126);
lean_ctor_set(x_127, 1, x_125);
x_128 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__9;
x_129 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_129, 0, x_127);
lean_ctor_set(x_129, 1, x_128);
x_130 = l_Lean_ReducibilityStatus_toAttrString(x_123);
x_131 = l_Lean_stringToMessageData(x_130);
lean_dec(x_130);
x_132 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_132, 0, x_129);
lean_ctor_set(x_132, 1, x_131);
x_133 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__11;
x_134 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_134, 0, x_132);
lean_ctor_set(x_134, 1, x_133);
x_135 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_136 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_136, 0, x_134);
lean_ctor_set(x_136, 1, x_135);
x_137 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_138 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_138, 0, x_136);
lean_ctor_set(x_138, 1, x_137);
x_139 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_138, x_4, x_5, x_121);
return x_139;
}
block_157:
{
lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; 
lean_dec(x_141);
x_142 = l_Lean_MessageData_ofName(x_1);
x_143 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__13;
x_144 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_144, 0, x_143);
lean_ctor_set(x_144, 1, x_142);
x_145 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__9;
x_146 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_146, 0, x_144);
lean_ctor_set(x_146, 1, x_145);
x_147 = l_Lean_ReducibilityStatus_toAttrString(x_123);
x_148 = l_Lean_stringToMessageData(x_147);
lean_dec(x_147);
x_149 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_149, 0, x_146);
lean_ctor_set(x_149, 1, x_148);
x_150 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__15;
x_151 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_151, 0, x_149);
lean_ctor_set(x_151, 1, x_150);
x_152 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_153 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_153, 0, x_151);
lean_ctor_set(x_153, 1, x_152);
x_154 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_155 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_155, 0, x_153);
lean_ctor_set(x_155, 1, x_154);
x_156 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_155, x_4, x_5, x_121);
return x_156;
}
}
}
else
{
lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; 
lean_dec(x_11);
x_208 = lean_ctor_get(x_10, 1);
lean_inc(x_208);
lean_dec(x_10);
x_209 = l_Lean_MessageData_ofName(x_1);
x_210 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__3;
x_211 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_211, 0, x_210);
lean_ctor_set(x_211, 1, x_209);
x_212 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__5;
x_213 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_213, 0, x_211);
lean_ctor_set(x_213, 1, x_212);
x_214 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8;
x_215 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_215, 0, x_213);
lean_ctor_set(x_215, 1, x_214);
x_216 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9;
x_217 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_217, 0, x_215);
lean_ctor_set(x_217, 1, x_216);
x_218 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_217, x_4, x_5, x_208);
return x_218;
}
}
else
{
uint8_t x_219; 
lean_dec(x_1);
x_219 = !lean_is_exclusive(x_10);
if (x_219 == 0)
{
return x_10;
}
else
{
lean_object* x_220; lean_object* x_221; lean_object* x_222; 
x_220 = lean_ctor_get(x_10, 0);
x_221 = lean_ctor_get(x_10, 1);
lean_inc(x_221);
lean_inc(x_220);
lean_dec(x_10);
x_222 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_222, 0, x_220);
lean_ctor_set(x_222, 1, x_221);
return x_222;
}
}
}
else
{
lean_object* x_223; lean_object* x_224; 
lean_dec(x_1);
x_223 = lean_box(0);
x_224 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_224, 0, x_223);
lean_ctor_set(x_224, 1, x_6);
return x_224;
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__2(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__3(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_throwError___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__4(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; uint8_t x_9; lean_object* x_10; 
x_8 = lean_unbox(x_2);
lean_dec(x_2);
x_9 = lean_unbox(x_3);
lean_dec(x_3);
x_10 = l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1(x_1, x_8, x_9, x_4, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
return x_10;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_validate___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; uint8_t x_8; lean_object* x_9; 
x_7 = lean_unbox(x_2);
lean_dec(x_2);
x_8 = lean_unbox(x_3);
lean_dec(x_3);
x_9 = l___private_Lean_ReducibilityAttrs_0__Lean_validate(x_1, x_7, x_8, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
return x_9;
}
}
static lean_object* _init_l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__4;
x_2 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_addAttr(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
lean_inc(x_5);
x_8 = l_Lean_Attribute_Builtin_ensureNoArgs(x_3, x_5, x_6, x_7);
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_8, 1);
lean_inc(x_9);
lean_dec(x_8);
lean_inc(x_2);
x_10 = l___private_Lean_ReducibilityAttrs_0__Lean_validate(x_2, x_1, x_4, x_5, x_6, x_9);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_11 = lean_ctor_get(x_10, 1);
lean_inc(x_11);
lean_dec(x_10);
x_12 = lean_ctor_get(x_5, 6);
lean_inc(x_12);
lean_dec(x_5);
x_13 = lean_st_ref_take(x_6, x_11);
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
x_15 = lean_ctor_get(x_13, 1);
lean_inc(x_15);
lean_dec(x_13);
x_16 = !lean_is_exclusive(x_14);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_17 = lean_ctor_get(x_14, 0);
x_18 = lean_ctor_get(x_14, 4);
lean_dec(x_18);
x_19 = l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(x_17, x_2, x_1, x_4, x_12);
x_20 = l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___closed__1;
lean_ctor_set(x_14, 4, x_20);
lean_ctor_set(x_14, 0, x_19);
x_21 = lean_st_ref_set(x_6, x_14, x_15);
x_22 = !lean_is_exclusive(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; 
x_23 = lean_ctor_get(x_21, 0);
lean_dec(x_23);
x_24 = lean_box(0);
lean_ctor_set(x_21, 0, x_24);
return x_21;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_25 = lean_ctor_get(x_21, 1);
lean_inc(x_25);
lean_dec(x_21);
x_26 = lean_box(0);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_25);
return x_27;
}
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_28 = lean_ctor_get(x_14, 0);
x_29 = lean_ctor_get(x_14, 1);
x_30 = lean_ctor_get(x_14, 2);
x_31 = lean_ctor_get(x_14, 3);
x_32 = lean_ctor_get(x_14, 5);
x_33 = lean_ctor_get(x_14, 6);
lean_inc(x_33);
lean_inc(x_32);
lean_inc(x_31);
lean_inc(x_30);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_14);
x_34 = l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(x_28, x_2, x_1, x_4, x_12);
x_35 = l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___closed__1;
x_36 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_36, 0, x_34);
lean_ctor_set(x_36, 1, x_29);
lean_ctor_set(x_36, 2, x_30);
lean_ctor_set(x_36, 3, x_31);
lean_ctor_set(x_36, 4, x_35);
lean_ctor_set(x_36, 5, x_32);
lean_ctor_set(x_36, 6, x_33);
x_37 = lean_st_ref_set(x_6, x_36, x_15);
x_38 = lean_ctor_get(x_37, 1);
lean_inc(x_38);
if (lean_is_exclusive(x_37)) {
 lean_ctor_release(x_37, 0);
 lean_ctor_release(x_37, 1);
 x_39 = x_37;
} else {
 lean_dec_ref(x_37);
 x_39 = lean_box(0);
}
x_40 = lean_box(0);
if (lean_is_scalar(x_39)) {
 x_41 = lean_alloc_ctor(0, 2, 0);
} else {
 x_41 = x_39;
}
lean_ctor_set(x_41, 0, x_40);
lean_ctor_set(x_41, 1, x_38);
return x_41;
}
}
else
{
uint8_t x_42; 
lean_dec(x_5);
lean_dec(x_2);
x_42 = !lean_is_exclusive(x_10);
if (x_42 == 0)
{
return x_10;
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_43 = lean_ctor_get(x_10, 0);
x_44 = lean_ctor_get(x_10, 1);
lean_inc(x_44);
lean_inc(x_43);
lean_dec(x_10);
x_45 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_45, 0, x_43);
lean_ctor_set(x_45, 1, x_44);
return x_45;
}
}
}
else
{
uint8_t x_46; 
lean_dec(x_5);
lean_dec(x_2);
x_46 = !lean_is_exclusive(x_8);
if (x_46 == 0)
{
return x_8;
}
else
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_47 = lean_ctor_get(x_8, 0);
x_48 = lean_ctor_get(x_8, 1);
lean_inc(x_48);
lean_inc(x_47);
lean_dec(x_8);
x_49 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_49, 0, x_47);
lean_ctor_set(x_49, 1, x_48);
return x_49;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; uint8_t x_9; lean_object* x_10; 
x_8 = lean_unbox(x_1);
lean_dec(x_1);
x_9 = lean_unbox(x_4);
lean_dec(x_4);
x_10 = l___private_Lean_ReducibilityAttrs_0__Lean_addAttr(x_8, x_2, x_3, x_9, x_5, x_6, x_7);
lean_dec(x_6);
return x_10;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("attribute cannot be erased", 26, 26);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; 
x_5 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__2;
x_6 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_5, x_2, x_3, x_4);
return x_6;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__6;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("initFn", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__1;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_@", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__3;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__5;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__6;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ReducibilityAttrs", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__6;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__7;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__8;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__9;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__10;
x_2 = lean_unsigned_to_nat(1381u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("irreducible", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__12;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("irreducible declaration", 23, 23);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__11;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__13;
x_3 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__14;
x_4 = 0;
x_5 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__16() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 2;
x_2 = lean_box(x_1);
x_3 = lean_alloc_closure((void*)(l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___boxed), 7, 1);
lean_closure_set(x_3, 0, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__15;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__16;
x_3 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__17;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__18;
x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__10;
x_2 = lean_unsigned_to_nat(1423u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("reducible", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("reducible declaration", 21, 21);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__1;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__3;
x_3 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__4;
x_4 = 0;
x_5 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 0;
x_2 = lean_box(x_1);
x_3 = lean_alloc_closure((void*)(l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___boxed), 7, 1);
lean_closure_set(x_3, 0, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__5;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__6;
x_3 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__17;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__7;
x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__10;
x_2 = lean_unsigned_to_nat(1465u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("semireducible", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("semireducible declaration", 25, 25);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__1;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__3;
x_3 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__4;
x_4 = 0;
x_5 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = lean_box(x_1);
x_3 = lean_alloc_closure((void*)(l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___boxed), 7, 1);
lean_closure_set(x_3, 0, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__5;
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__6;
x_3 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__17;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__7;
x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_ctor_get(x_4, 1);
lean_inc(x_5);
lean_dec(x_4);
x_6 = lean_get_reducibility_status(x_3, x_2);
x_7 = lean_box(x_6);
x_8 = lean_apply_2(x_5, lean_box(0), x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_4 = lean_ctor_get(x_1, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_2, 0);
lean_inc(x_5);
lean_dec(x_2);
x_6 = lean_alloc_closure((void*)(l_Lean_getReducibilityStatus___rarg___lambda__1), 3, 2);
lean_closure_set(x_6, 0, x_1);
lean_closure_set(x_6, 1, x_3);
x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_getReducibilityStatus___rarg), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___rarg___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; lean_object* x_6; 
x_4 = 0;
x_5 = lean_box(0);
x_6 = l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(x_3, x_1, x_2, x_4, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_4 = lean_ctor_get(x_1, 1);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_box(x_3);
x_6 = lean_alloc_closure((void*)(l_Lean_setReducibilityStatus___rarg___lambda__1___boxed), 3, 2);
lean_closure_set(x_6, 0, x_2);
lean_closure_set(x_6, 1, x_5);
x_7 = lean_apply_1(x_4, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_setReducibilityStatus___rarg___boxed), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = lean_unbox(x_2);
lean_dec(x_2);
x_5 = l_Lean_setReducibilityStatus___rarg___lambda__1(x_1, x_4, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = lean_unbox(x_3);
lean_dec(x_3);
x_5 = l_Lean_setReducibilityStatus___rarg(x_1, x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = 0;
x_4 = l_Lean_setReducibilityStatus___rarg(x_1, x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_setReducibleAttribute___rarg), 2, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_isReducible___rarg___lambda__1(lean_object* x_1, uint8_t x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_box(x_2);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_ctor_get(x_4, 1);
lean_inc(x_5);
lean_dec(x_4);
x_6 = 1;
x_7 = lean_box(x_6);
x_8 = lean_apply_2(x_5, lean_box(0), x_7);
return x_8;
}
else
{
lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; 
lean_dec(x_3);
x_9 = lean_ctor_get(x_1, 0);
lean_inc(x_9);
lean_dec(x_1);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = 0;
x_12 = lean_box(x_11);
x_13 = lean_apply_2(x_10, lean_box(0), x_12);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lean_isReducible___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_4 = lean_ctor_get(x_1, 1);
lean_inc(x_4);
lean_inc(x_1);
x_5 = l_Lean_getReducibilityStatus___rarg(x_1, x_2, x_3);
x_6 = lean_alloc_closure((void*)(l_Lean_isReducible___rarg___lambda__1___boxed), 2, 1);
lean_closure_set(x_6, 0, x_1);
x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_isReducible(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_isReducible___rarg), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_isReducible___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = lean_unbox(x_2);
lean_dec(x_2);
x_4 = l_Lean_isReducible___rarg___lambda__1(x_1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_isIrreducible___rarg___lambda__1(lean_object* x_1, uint8_t x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_box(x_2);
if (lean_obj_tag(x_3) == 2)
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_ctor_get(x_4, 1);
lean_inc(x_5);
lean_dec(x_4);
x_6 = 1;
x_7 = lean_box(x_6);
x_8 = lean_apply_2(x_5, lean_box(0), x_7);
return x_8;
}
else
{
lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; 
lean_dec(x_3);
x_9 = lean_ctor_get(x_1, 0);
lean_inc(x_9);
lean_dec(x_1);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = 0;
x_12 = lean_box(x_11);
x_13 = lean_apply_2(x_10, lean_box(0), x_12);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lean_isIrreducible___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_4 = lean_ctor_get(x_1, 1);
lean_inc(x_4);
lean_inc(x_1);
x_5 = l_Lean_getReducibilityStatus___rarg(x_1, x_2, x_3);
x_6 = lean_alloc_closure((void*)(l_Lean_isIrreducible___rarg___lambda__1___boxed), 2, 1);
lean_closure_set(x_6, 0, x_1);
x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_isIrreducible(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_isIrreducible___rarg), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_isIrreducible___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = lean_unbox(x_2);
lean_dec(x_2);
x_4 = l_Lean_isIrreducible___rarg___lambda__1(x_1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_setIrreducibleAttribute___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = 2;
x_4 = l_Lean_setReducibilityStatus___rarg(x_1, x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_setIrreducibleAttribute(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_setIrreducibleAttribute___rarg), 2, 0);
return x_2;
}
}
lean_object* initialize_Lean_Attributes(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_ScopedEnvExtension(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_ReducibilityAttrs(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Attributes(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_ScopedEnvExtension(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_ReducibilityStatus_noConfusion___rarg___closed__1 = _init_l_Lean_ReducibilityStatus_noConfusion___rarg___closed__1();
lean_mark_persistent(l_Lean_ReducibilityStatus_noConfusion___rarg___closed__1);
l_Lean_instInhabitedReducibilityStatus = _init_l_Lean_instInhabitedReducibilityStatus();
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__1 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__1();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__1);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__2 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__2();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__2);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__3 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__3();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__3);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__4 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__4();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__4);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__5 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__5();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__5);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__6 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__6();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__6);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__7 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__7();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__7);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__8 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__8();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__8);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__9 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__9();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__9);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__10 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__10();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__10);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__11 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__11();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__11);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__12 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__12();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__12);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__13 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__13();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__13);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__14 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__14();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__14);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__15 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__15();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__15);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__16 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__16();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__16);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__17 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__17();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__17);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__18 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__18();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__18);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__19 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__19();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__19);
l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__20 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__20();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_reprReducibilityStatus____x40_Lean_ReducibilityAttrs___hyg_17____closed__20);
l_Lean_instReprReducibilityStatus___closed__1 = _init_l_Lean_instReprReducibilityStatus___closed__1();
lean_mark_persistent(l_Lean_instReprReducibilityStatus___closed__1);
l_Lean_instReprReducibilityStatus = _init_l_Lean_instReprReducibilityStatus();
lean_mark_persistent(l_Lean_instReprReducibilityStatus);
l_Lean_instBEqReducibilityStatus___closed__1 = _init_l_Lean_instBEqReducibilityStatus___closed__1();
lean_mark_persistent(l_Lean_instBEqReducibilityStatus___closed__1);
l_Lean_instBEqReducibilityStatus = _init_l_Lean_instBEqReducibilityStatus();
lean_mark_persistent(l_Lean_instBEqReducibilityStatus);
l_Lean_ReducibilityStatus_toAttrString___closed__1 = _init_l_Lean_ReducibilityStatus_toAttrString___closed__1();
lean_mark_persistent(l_Lean_ReducibilityStatus_toAttrString___closed__1);
l_Lean_ReducibilityStatus_toAttrString___closed__2 = _init_l_Lean_ReducibilityStatus_toAttrString___closed__2();
lean_mark_persistent(l_Lean_ReducibilityStatus_toAttrString___closed__2);
l_Lean_ReducibilityStatus_toAttrString___closed__3 = _init_l_Lean_ReducibilityStatus_toAttrString___closed__3();
lean_mark_persistent(l_Lean_ReducibilityStatus_toAttrString___closed__3);
l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___closed__1 = _init_l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___closed__1();
lean_mark_persistent(l_Array_qsort_sort___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____spec__2___closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3___closed__1 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3___closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__3___closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__1 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__2 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__2);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__3 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__3);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__4 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__4);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__5 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__5);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__6 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____lambda__4___closed__6);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__1 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__2 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__2);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__3 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__3);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__4 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__4);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__5 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__5);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__6 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186____closed__6);
if (builtin) {res = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_186_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_reducibilityCoreExt = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_reducibilityCoreExt);
lean_dec_ref(res);
}l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__1();
l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__2 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__2();
l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__3 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__3();
lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____spec__3___closed__3);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__1 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__2 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__2);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__3 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__3);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__4 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__4);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__5 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__5);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__6 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335____closed__6);
if (builtin) {res = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_335_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_reducibilityExtraExt = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_reducibilityExtraExt);
lean_dec_ref(res);
}l_Lean_getReducibilityStatusCore___closed__1 = _init_l_Lean_getReducibilityStatusCore___closed__1();
lean_mark_persistent(l_Lean_getReducibilityStatusCore___closed__1);
l_Lean_getReducibilityStatusCore___closed__2 = _init_l_Lean_getReducibilityStatusCore___closed__2();
lean_mark_persistent(l_Lean_getReducibilityStatusCore___closed__2);
l_Lean_getReducibilityStatusCore___closed__3 = _init_l_Lean_getReducibilityStatusCore___closed__3();
lean_mark_persistent(l_Lean_getReducibilityStatusCore___closed__3);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__1 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__2 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__2);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__3 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__3);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__4 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__4);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__5 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__5);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__6 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__6);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__7 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__7();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615____closed__7);
if (builtin) {res = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_615_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_allowUnsafeReducibility = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_allowUnsafeReducibility);
lean_dec_ref(res);
}l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__1 = _init_l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__1();
lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__1);
l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__2 = _init_l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__2();
lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__2);
l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__3 = _init_l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__3();
lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__3);
l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__4 = _init_l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__4();
lean_mark_persistent(l_Lean_getConstInfo___at___private_Lean_ReducibilityAttrs_0__Lean_validate___spec__1___closed__4);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__1 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__1();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__1);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__2 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__2();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__2);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__3 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__3();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__3);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__4 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__4();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__4);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__5 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__5();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__5);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__6 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__6();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__6);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__7 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__7();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__7);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__8);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__9);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__10 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__10();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__10);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__11 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__11();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__11);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__12 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__12();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__12);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__13 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__13();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__13);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__14 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__14();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__14);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__15 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__15();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___lambda__1___closed__15);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__1 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__1();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__1);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__2 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__2();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__2);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__3 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__3();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__3);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__4 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__4();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__4);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__5 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__5();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__5);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__6 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__6();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__6);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__7 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__7();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__7);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__8 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__8();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__8);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__9 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__9();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__9);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__10 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__10();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__10);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__11 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__11();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__11);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__12 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__12();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__12);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__13 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__13();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__13);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__14 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__14();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__14);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__15 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__15();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__15);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__16 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__16();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__16);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__17 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__17();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__17);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__18 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__18();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__18);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__19 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__19();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__19);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__20 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__20();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__20);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__21 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__21();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__21);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__22 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__22();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__22);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__23 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__23();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__23);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__24 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__24();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__24);
l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__25 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__25();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_validate___closed__25);
l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___closed__1 = _init_l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___closed__1();
lean_mark_persistent(l___private_Lean_ReducibilityAttrs_0__Lean_addAttr___closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__1 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__2 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____lambda__1___closed__2);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__1 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__2 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__2);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__3 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__3);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__4 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__4);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__5 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__5);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__6 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__6);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__7 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__7();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__7);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__8 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__8();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__8);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__9 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__9();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__9);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__10 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__10();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__10);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__11 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__11();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__11);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__12 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__12();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__12);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__13 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__13();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__13);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__14 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__14();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__14);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__15 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__15();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__15);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__16 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__16();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__16);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__17 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__17();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__17);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__18 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__18();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381____closed__18);
if (builtin) {res = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1381_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__1 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__2 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__2);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__3 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__3);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__4 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__4);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__5 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__5);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__6 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__6);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__7 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__7();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423____closed__7);
if (builtin) {res = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1423_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__1 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__1);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__2 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__2);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__3 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__3);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__4 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__4);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__5 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__5);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__6 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__6);
l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__7 = _init_l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__7();
lean_mark_persistent(l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465____closed__7);
if (builtin) {res = l_Lean_initFn____x40_Lean_ReducibilityAttrs___hyg_1465_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
